Product VIEW $view = new view; $view->name = 'new_products'; $view->description = 'New Products views'; $view->tag = 'products'; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Products', 'default'); $handler->override_option('sorts', array( 'created' => array( 'order' => 'ASC', 'granularity' => 'second', 'id' => 'created', 'table' => 'node', 'field' => 'created', 'relationship' => 'none', ), )); $handler->override_option('arguments', array( 'tid' => array( 'default_action' => 'empty', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All', 'title' => '', 'breadcrumb' => '', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'taxonomy_term', 'validate_fail' => 'not found', 'break_phrase' => 1, 'add_table' => 0, 'require_value' => 0, 'reduce_duplicates' => 0, 'set_breadcrumb' => 0, 'id' => 'tid', 'table' => 'term_node', 'field' => 'tid', 'validate_user_argument_type' => 'uid', 'validate_user_roles' => array( '2' => 0, '3' => 0, ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'blog' => 0, 'poll' => 0, 'ad' => 0, 'feed' => 0, 'feed_item' => 0, 'panel' => 0, 'book' => 0, 'company_profile' => 0, 'official_blog' => 0, 'page' => 0, 'people_org_profile' => 0, 'product_info' => 0, 'promo_codes' => 0, 'review' => 0, 'story' => 0, 'video_tube' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '1' => 1, '2' => 2, '5' => 0, '6' => 0, '4' => 0, '3' => 0, '8' => 0, '47' => 0, '9' => 0, '10' => 0, '11' => 0, '12' => 0, '13' => 0, '14' => 0, '15' => 0, '48' => 0, '16' => 0, '17' => 0, '18' => 0, '19' => 0, '20' => 0, '21' => 0, '22' => 0, '23' => 0, '24' => 0, '25' => 0, '26' => 0, '27' => 0, '28' => 0, '29' => 0, '30' => 0, '31' => 0, '32' => 0, '33' => 0, '34' => 0, '35' => 0, '36' => 0, '37' => 0, '38' => 0, '39' => 0, '40' => 0, '41' => 0, '42' => 0, '43' => 0, '44' => 0, '45' => 0, '46' => 0, '7' => 0, ), 'validate_argument_type' => 'tid', 'validate_argument_transform' => 0, 'validate_user_restrict_roles' => 0, 'validate_argument_php' => '', ), )); $handler->override_option('filters', array( 'status' => array( 'operator' => '=', 'value' => '1', 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'status', 'table' => 'node', 'field' => 'status', 'relationship' => 'none', ), 'type' => array( 'operator' => 'in', 'value' => array( 'product_info' => 'product_info', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('cache', array( 'type' => 'none', )); $handler->override_option('empty', 'No Products to Display'); $handler->override_option('empty_format', '2'); $handler->override_option('use_more', 1); $handler->override_option('use_more_text', 'more Products'); $handler->override_option('distinct', 1); $handler->override_option('row_plugin', 'node'); $handler->override_option('row_options', array( 'relationship' => 'none', 'build_mode' => 'teaser', 'links' => 1, 'comments' => 0, )); $handler = $view->new_display('panel_pane', 'Products by Taxonomy Content pane', 'panel_pane_1'); $handler->override_option('pane_title', 'Products by Taxonomy Content pane'); $handler->override_option('pane_description', 'View Products by context taxonomy terms'); $handler->override_option('pane_category', array( 'name' => 'View panes', 'weight' => 0, )); $handler->override_option('allow', array( 'use_pager' => FALSE, 'items_per_page' => FALSE, 'offset' => FALSE, 'link_to_view' => FALSE, 'more_link' => FALSE, 'path_override' => FALSE, 'title_override' => FALSE, 'exposed_form' => FALSE, )); $handler->override_option('argument_input', array( 'tid' => array( 'type' => 'context', 'context' => 'terms.tids', 'context_optional' => 0, 'panel' => '0', 'fixed' => '', 'label' => 'Taxonomy: Term ID', ), )); $handler->override_option('link_to_view', 0); $handler->override_option('inherit_panels_path', 0);